home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Packard Bell - Multimedia…D & Packard Bell Library
/
Packard Bell Master CD.iso
/
bu
/
k
/
speed.001
/
speed
/
speed.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-23
|
4KB
|
131 lines
@echo off
rem usage: SPEED [-v] [-clean] [-p]
rem The -p is only used within Windows to pause the end screen.
rem If -v is given, user can hit Ctrl-PrintScreen to dump the screen to a file.
rem If -clean is given, no TSRs will be loaded before running ka.
C:
cd C:\SPEED
:checkcd
existdir D:\SPEED\drivers
if errorlevel 1 goto nocd
goto gotcd
:nocd
cls
echo.
echo.
echo.
echo.
echo.
echo ╔═══════════════════════════════╗
echo ║ ║
echo ║ Unable to access the CD-ROM! ║
echo ║ ║
echo ╚═══════════════════════════════╝
echo.
echo.
echo.
echo.
echo Please insert the IMAX SPEED CD in the CD-ROM drive
echo and press a key to continue or press [ESC] to cancel.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
checkesc
if errorlevel 2 goto loop
goto end
:loop
cls
goto checkcd
:gotcd
if "%1"=="-CLEAN" goto clean
if "%1"=="-clean" goto clean
rem rem power.exe not detected
if "%1"=="-V" goto vgacapt
if "%1"=="-v" goto vgacapt
moustest
if errorlevel 1 goto nomouse
rem no special tsrs needed
rem No special sound device
ka -520k kav.pgm -lC:\SPEED -rD:\SPEED -fC:\SPEED
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
goto end
:nomouse
mouse
rem no special tsrs needed
rem No special sound device
ka -520k kav.pgm -lC:\SPEED -rD:\SPEED -fC:\SPEED
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
mouse /u >nul
goto end
:vgacapt
moustest
if errorlevel 1 goto vnomouse
rem no special tsrs needed
rem No special sound device
vgacapt ka -520k kav.pgm -lC:\SPEED -rD:\SPEED -fC:\SPEED
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
goto end
:vnomouse
mouse
rem no special tsrs needed
rem No special sound device
vgacapt ka -520k kav.pgm -lC:\SPEED -rD:\SPEED -fC:\SPEED
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
mouse /u >nul
goto end
:clean
ka -520k kav.pgm -lC:\SPEED -rD:\SPEED -fC:\SPEED
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
:end
rem No special sound device cleanup
karerun
if errorlevel 99 goto last
zzzkare.bat
:endmsg
echo.
echo.
echo.
echo Thank you for using
echo.
echo IMAX SPEED CD-ROM
echo.
echo Try these other great new products from Knowledge Adventure!
echo.
echo.
echo ╔═══════════════════════════╗
echo ║ 3-D DINOSAUR ADVENTURE ║
echo ║ 3-D BODY ADVENTURE ║
echo ║ AMERICA ADVENTURE ║
echo ║ BUG ADVENTURE ║
echo ║ KID'S ZOO ║
echo ║ IMAX DISCOVERERS ║
echo ║ SCIENCE ADVENTURE II ║
echo ║ SPACE ADVENTURE ║
echo ║ UNDERSEA ADVENTURE ║
echo ║ ZURK'S LEARNING SAFARI ║
echo ╚═══════════════════════════╝
echo.
echo.
echo For more information call (818) 542-4200.
echo.
echo.
:bottom
if not "%1"=="-p" goto last
echo Press a key to return to Windows...
pause > nul
:last
rem go straight to command line, do not pass Go, do not collect $200.